package com.mall.product.service;

import com.mall.common.page.PageData;
import com.mall.common.service.CrudService;
import com.mall.product.dto.SpuInfoDTO;
import com.mall.product.entity.SpuInfoEntity;
import com.mall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author xjc xjc@163.com
 * @since 1.0.0 2022-07-17
 */
public interface SpuInfoService extends CrudService<SpuInfoEntity, SpuInfoDTO> {

    void saveAllInfo(SpuSaveVo saveVo);

    PageData<SpuInfoDTO> queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);
}